<?php
/**
 * Created by PhpStorm.
 * User: skytop
 * Date: 2016/7/28
 * Time: 18:25
 */

namespace Admin\Model;


use Think\Model;

class RoleModel extends Model
{
    protected $_validate=array(
        array('name','','角色名不可重复',0,'unique',3),
        array('name','require','角色名必填'),
        array('status','require','请选择状态'),
        array('remark','require','请填写描述'),
    );
}